/* @(#)GSMarketInfoBean.java
 * 
 *  Project:GS
 *  
 *  Modify  Information:
 *  ===============================================
 *   Author          Date            Description
 *  -------------- ---------------  ---------------
 *  Jenny  Li      2006-5-25          新增
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 *
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * @author JennyLi
 *
 */
public class GSMarketInfoBean implements GSBaseBean {

	private String gs_create_date;
	
	private String gs_info_title;
	
	private String gs_publish_date;
	
	private String gs_provider_id;
	
	private String gs_info_content;
	
	private String gs_file_name;
	
	private String gs_create_operater;
	
	private String gs_lastmodifer_id;
	
	private String gs_lastmodify_date;
	
	public String getGs_create_date() {
		return gs_create_date;
	}
	public void setGs_create_date(String aGs_create_date) {
		gs_create_date = aGs_create_date;
	}
	public String getGs_create_operater() {
		return gs_create_operater;
	}
	public void setGs_create_operater(String aGs_create_operater) {
		gs_create_operater = aGs_create_operater;
	}
	public String getGs_file_name() {
		return gs_file_name;
	}
	public void setGs_file_name(String aGs_file_name) {
		gs_file_name = aGs_file_name;
	}
	public String getGs_info_content() {
		return gs_info_content;
	}
	public void setGs_info_content(String aGs_info_content) {
		gs_info_content = aGs_info_content;
	}
	public String getGs_info_title() {
		return gs_info_title;
	}
	public void setGs_info_title(String aGs_info_title) {
		gs_info_title = aGs_info_title;
	}
	public String getGs_lastmodifer_id() {
		return gs_lastmodifer_id;
	}
	public void setGs_lastmodifer_id(String aGs_lastmodifer_id) {
		gs_lastmodifer_id = aGs_lastmodifer_id;
	}
	public String getGs_lastmodify_date() {
		return gs_lastmodify_date;
	}
	public void setGs_lastmodify_date(String aGs_lastmodify_date) {
		gs_lastmodify_date = aGs_lastmodify_date;
	}
	public String getGs_provider_id() {
		return gs_provider_id;
	}
	public void setGs_provider_id(String aGs_provider_id) {
		gs_provider_id = aGs_provider_id;
	}
	public String getGs_publish_date() {
		return gs_publish_date;
	}
	public void setGs_publish_date(String aGs_publish_date) {
		gs_publish_date = aGs_publish_date;
	}
	/* (non-Javadoc)
	 * @see com.hitrust.gs.service.GSBaseBean#process(java.sql.ResultSet)
	 */
	public Object process(ResultSet aResultSet) throws SQLException {
		GSMarketInfoBean tMarketInfo = new GSMarketInfoBean();
        tMarketInfo.gs_create_date = aResultSet.getString("GS_CREATE_DATE").trim();
        tMarketInfo.gs_info_title = aResultSet.getString("GS_INFO_TITLE");
        tMarketInfo.gs_info_content = aResultSet.getString("GS_INFO_CONTENT")==null? "":aResultSet.getString("GS_INFO_CONTENT");
        tMarketInfo.gs_provider_id =  aResultSet.getString("GS_PROVIDER_ID");
        tMarketInfo.gs_publish_date = aResultSet.getString("GS_PUBLISH_DATE");
        tMarketInfo.gs_file_name = aResultSet.getString("GS_FILE_NAME") == null? "":aResultSet.getString("GS_FILE_NAME");
        tMarketInfo.gs_create_operater = aResultSet.getString("GS_CREATE_OPERATER") == null? "":aResultSet.getString("GS_CREATE_OPERATER").trim();
        tMarketInfo.gs_lastmodifer_id = aResultSet.getString("GS_LASTMODIFER_ID") == null? "":aResultSet.getString("GS_LASTMODIFER_ID");
        tMarketInfo.gs_lastmodify_date = aResultSet.getString("GS_LASTMODIFER_DATE") == null? "":aResultSet.getString("GS_LASTMODIFY_DATE");
		return tMarketInfo;
	}

}
